package com.nbgroup.service;

import com.nbgroup.pojo.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nbgroup.pojo.common.PageBean;
import com.nbgroup.pojo.dto.AssignmentOrGainBusiDTO;
import com.nbgroup.pojo.dto.BusinessPageQueryDTO;

/**
 * <p>
 * 商机表 服务类
 * </p>
 *
 * @author author
 * @since 2024-10-27
 */
public interface IBusinessService extends IService<Business> {

    /**
     * 商机分页查询
     * @param dto
     * @return
     */
    PageBean PageQuery(BusinessPageQueryDTO dto);

    /**
     * 分配商机
     * @param dto
     */
    void gainOrAssignBusi(AssignmentOrGainBusiDTO dto);
}
